﻿using System;
using TracNghiemChonTruong.Class;

namespace TracNghiemChonTruong
{
    public partial class Index : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack) return;
            UserManager.CreateInstant().InsertUpdate(txtFullname.Text, txtEmail.Text);
            SessionUtils.FullName = txtFullname.Text;
            Response.Redirect("Default.aspx");
        }

    }
}